package com.zhongjian.technologycal.mall.bean;

import java.util.List;

/**
 * Created by wei on 2018/1/17.
 * 会员专区实体类
 */

public class MembersAreasBean {

    /**
     * error_code : 0
     * error_message : 成功
     * data : [{"id":119,"productname":"陈政壹号  ","price":3000,"oldprice":3500,"elecnum":3000,"tag":2,"productphotos":[{"photo":"/upload/pics/134cac18-c40c-4935-b8ec-d3dc2d3cff25.jpg"}]},{"id":120,"productname":"海慈密语卫生巾礼盒套装","price":349,"oldprice":389,"elecnum":199,"tag":2,"productphotos":[{"photo":"/upload/pics/2ec08582-917a-40b9-bc30-a3bb92ff0849.jpg"}]},{"id":136,"productname":"硒都麦绿宝","price":300,"oldprice":488,"elecnum":100,"tag":2,"productphotos":[{"photo":"/upload/pics/917f3ea2-0196-4bb5-8868-fb63be33bb2b.jpg"}]},{"id":139,"productname":"卿馨焕颜靓肤液","price":1280,"oldprice":1580,"elecnum":1280,"tag":2,"productphotos":[{"photo":"/upload/pics/ba0ff9d5-a315-4b50-926b-b5faf6848e45.jpg"},{"photo":"/upload/pics/f692c975-e209-4470-ba6c-67facb99a37c.jpg"},{"photo":"/upload/pics/3638810c-4679-4be7-84b9-94dbb3eacf6d.jpg"},{"photo":"/upload/pics/2d9f892b-8d36-45e6-80e6-fec2aea51627.jpg"}]},{"id":140,"productname":"琼浆玉液 野蜂蜜酒","price":9264,"oldprice":10880,"elecnum":9264,"tag":2,"productphotos":[{"photo":"/upload/pics/5673f651-e62a-4f9a-8fad-00ed385430db.jpg"},{"photo":"/upload/pics/7a175b73-4ef1-4a55-ade5-0adccf1958b7.jpg"}]},{"id":141,"productname":"田田农场养生套","price":18098,"oldprice":19999,"elecnum":18098,"tag":2,"productphotos":[{"photo":"/upload/pics/617a9621-4e22-4ad9-bd2b-77d10bd2f933.jpg"}]},{"id":158,"productname":"怡保睐负离子功能眼镜","price":660,"oldprice":660,"elecnum":660,"tag":2,"productphotos":[{"photo":"/upload/pics/7fe91d52-100b-4b50-89da-3c82e826455b.jpg"}]},{"id":159,"productname":"通成康饮用柠檬酸水","price":1750,"oldprice":2100,"elecnum":1750,"tag":2,"productphotos":[{"photo":"/upload/pics/3fae6d9c-97d4-44c4-afa7-9d21394948dc.jpg"},{"photo":"/upload/pics/3df325bd-dcbf-4ca3-a476-be495b1d6d37.jpg"}]},{"id":230,"productname":"儒家文化课程","price":29800,"oldprice":32000,"elecnum":29800,"tag":2,"productphotos":[{"photo":"/upload/pics/07cc35e9-23a1-481b-8675-0b41b0a2f2c7.jpg"}]},{"id":239,"productname":"海洋活性修养内裤女","price":215,"oldprice":215,"elecnum":149,"tag":2,"productphotos":[{"photo":"/upload/pics/ae030d88-2da2-4cc6-9de4-145ada25766e.jpg"}]}]
     */

    private int error_code;
    private String error_message;
    private List<DataBean> data;

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public String getError_message() {
        return error_message;
    }

    public void setError_message(String error_message) {
        this.error_message = error_message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 119
         * productname : 陈政壹号
         * price : 3000
         * oldprice : 3500
         * elecnum : 3000
         * tag : 2
         * productphotos : [{"photo":"/upload/pics/134cac18-c40c-4935-b8ec-d3dc2d3cff25.jpg"}]
         */

        private int id;
        private String productname;
        private double price;
        private double oldprice;
        private int elecnum;
        private int tag;
        private List<ProductphotosBean> productphotos;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getProductname() {
            return productname;
        }

        public void setProductname(String productname) {
            this.productname = productname;
        }

        public Double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public double getOldprice() {
            return oldprice;
        }

        public void setOldprice(double oldprice) {
            this.oldprice = oldprice;
        }

        public int getElecnum() {
            return elecnum;
        }

        public void setElecnum(int elecnum) {
            this.elecnum = elecnum;
        }

        public int getTag() {
            return tag;
        }

        public void setTag(int tag) {
            this.tag = tag;
        }

        public List<ProductphotosBean> getProductphotos() {
            return productphotos;
        }

        public void setProductphotos(List<ProductphotosBean> productphotos) {
            this.productphotos = productphotos;
        }

        public static class ProductphotosBean {
            /**
             * photo : /upload/pics/134cac18-c40c-4935-b8ec-d3dc2d3cff25.jpg
             */

            private String photo;

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }
        }
    }
}
